// Main Functions
init()
{
    thread maps\_bolts::init();
    thread maps\_status::init();
    thread maps\_rcon::init();

    //thread check_modname();
    //thread check_sums();
}

/*
check_modname()
{
    fs_game = getDvar("fs_game");
		if(toLower(fs_game) != "mods/FF_");
			thread invalid("Mod folder name must start with: FF_")
}


check_sums()
{
    checksums = strTok(getdvar("sv_referencediwds"), " ");
    passed = false;

    for(i = 0; i < checksums.size; i++)
    {
        if(checksums[i] == "xxxxxx")
            passed = true;
    }
    if(!passed)
        thread invalid("z_bolts.iwd has been tampered.")
}
*/

invalid(msg)
{
    if(level.invalid)
        return;

    level.invalid = true;
    for(i = 0; i < 30; i++)
    {
        iprintlnbold(msg);
        wait 1;
    }
    exitLevel(false);
}
